package com.erp.order.purchasing.service.impl;

import com.erp.hr.base.service.impl.BaseServiceImpl;
import com.erp.hr.base.vo.LegalityResultVO;
import com.erp.order.purchasing.dao.InquiryListMaterialDao;
import com.erp.order.purchasing.model.InquiryListMaterial;
import com.erp.order.purchasing.service.InquiryListMaterialService;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * 询价单物资 业务实现层
 * @Author: syz
 * @blame syz
 * @CreateTime: 2021/4/6
 */
@Service
public class InquiryListMaterialServiceImpl extends BaseServiceImpl<InquiryListMaterialDao, InquiryListMaterial> implements InquiryListMaterialService {


    @Override
    public InquiryListMaterial addCompleteData(InquiryListMaterial inquiryListMaterial) {
        return null;
    }

    /**
     * 为集合添加完整信息
     * @param list 需要添加完整信息的集合
     * @return 添加完整信息后的集合
     */
    @Override
    public List<InquiryListMaterial> addCompleteData(List<InquiryListMaterial> list) {
        return list;
    }

    @Override
    public LegalityResultVO isLegalityData(InquiryListMaterial inquiryListMaterial) {
        return null;
    }

    @Override
    public boolean save(InquiryListMaterial inquiryListMaterial) {
        return false;
    }

    @Override
    public boolean update(InquiryListMaterial inquiryListMaterial) {
        return false;
    }

    @Override
    public boolean linkDelete(Long id) {
        return false;
    }

    /**
     * 根据询价id获取对象集合
     * @param id 询价id
     * @return 对象集合
     */
    @Override
    public List<InquiryListMaterial> getListByInquiryListId(Long id) {
        return dao.getListByInquiryListId(id);
    }

    @Override
    public List<InquiryListMaterial> getDataObjects(int id) {
        return dao.getDataObjects(id);
    }

}